<div class="BlockBar"><?php echo CHtml::activeLabel($model, 'backup_name'); ?></div>
<?php $form = $this->beginWidget('CActiveForm', array('id' => 'user', 'enableAjaxValidation' => true, 'htmlOptions' => array('enctype' => 'multipart/form-data'))); ?>
<table cellspacing="1" cellpadding="4" class="tab">
            <tr class="row">
        <td class="align-right" width="15%"><?php echo $form->labelEx($model, 'backup_name'); ?>:</td>
        <td align-left>
            <?php echo $form->textField($model, 'backup_name'); ?><?php echo $form->error($model, 'backup_name'); ?>
        </td>

    </tr>
    <tr class="row">
        <td class="align-right" width="15%"><?php echo $form->labelEx($model, 'selectImport'); ?>:</td>
        <td align-left>
            <?php echo $form->dropDownList($model, 'selectImport', $model->tableList, array('class' => 'checkbox')); ?>
            <?php echo $form->error($model, 'selectImport'); ?>
        </td>

    </tr>
        <tr class="row">
        <td class="align-right" width="15%"><?php echo $form->labelEx($model, 'backup_and_download'); ?>:</td>
        <td align-left>
            <?php echo $form->checkBox($model, 'backup_and_download', array(), array('class' => 'checkbox')); ?>
        </td>

    </tr>
    <tr class="rows">
        <td ></td>
        <td class="align-left"><?php echo CHtml::submitButton(Yii::t('app', '备份选择资料'), array('class' => 'btn')); ?> <?php echo CHtml::submitButton(Yii::t('app', '备份全部资料'), array('class' => 'btn')); ?></td>
    </tr>
</table>
<?php $this->endWidget(); ?>
<?php echo $this->renderPartial('_list', array('model' => $model));?>